﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;

namespace DAO
{
    public class DonViTinhDAO
    {
        public static DonViTinh loadID(int id)
        {
            using (var db = new bcsaleEntities())
            {
                return db.DonViTinhs.FirstOrDefault(i => i.ID == id);
            }
        }
    }
}
